package com.apexedu.biz.entity.client;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * TSysMapHelp entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "T_SYS_MAP_HELP")
public class TSysMapHelp implements java.io.Serializable {

	// Fields

	private String id;
	private String roleid;
	private String menuOrUserId;
	private String belongtoapp;
    private String optype;
    private String roleidBak;
    private String menuOrUserIdBak;

	// Constructors

	/** default constructor */
	public TSysMapHelp() {
	}

	/** minimal constructor */
	public TSysMapHelp(String id) {
		this.id = id;
	}

    public TSysMapHelp(String id, String roleid, String menuOrUserId, String belongtoapp, String optype, String roleidBak, String menuOrUserIdBak) {
        this.id = id;
        this.roleid = roleid;
        this.menuOrUserId = menuOrUserId;
        this.belongtoapp = belongtoapp;
        this.optype = optype;
        this.roleidBak = roleidBak;
        this.menuOrUserIdBak = menuOrUserIdBak;
    }

    /** full constructor */


    public TSysMapHelp(String id, String roleid, String menuOrUserId, String belongtoapp, String optype) {
        this.id = id;
        this.roleid = roleid;
        this.menuOrUserId = menuOrUserId;
        this.belongtoapp = belongtoapp;
        this.optype = optype;
    }

    // Property accessors
	@Id
	@Column(name = "ID", unique = true, nullable = false, length = 50)
	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Column(name = "ROLEID", length = 50)
	public String getRoleid() {
		return this.roleid;
	}

	public void setRoleid(String roleid) {
		this.roleid = roleid;
	}

	@Column(name = "MENU_OR_USER_ID", length = 50)
	public String getMenuOrUserId() {
		return this.menuOrUserId;
	}

	public void setMenuOrUserId(String menuOrUserId) {
		this.menuOrUserId = menuOrUserId;
	}

	@Column(name = "BELONGTOAPP", length = 50)
	public String getBelongtoapp() {
		return this.belongtoapp;
	}

	public void setBelongtoapp(String belongtoapp) {
		this.belongtoapp = belongtoapp;
	}

    @Column(name = "OPTYPE", length = 50)
    public String getOptype() {
        return optype;
    }

    public void setOptype(String optype) {
        this.optype = optype;
    }

    @Column(name = "ROLEID_BAK", length = 50)
    public String getRoleidBak() {
        return roleidBak;
    }

    public void setRoleidBak(String roleidBak) {
        this.roleidBak = roleidBak;
    }

    @Column(name = "MENU_OR_USER_ID_BAK", length = 50)
    public String getMenuOrUserIdBak() {
        return menuOrUserIdBak;
    }

    public void setMenuOrUserIdBak(String menuOrUserIdBak) {
        this.menuOrUserIdBak = menuOrUserIdBak;
    }
}